package cn.wangzengqiang.study.designpattern.singleton;

/**
 * 饿汉式单例
 */
public class HungryManSingleton {
    private static HungryManSingleton instance = new HungryManSingleton();

    private HungryManSingleton() {
    }

    public static HungryManSingleton getInstance() {
        return instance;
    }
}
